import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';

export class RegisterDto {

    @IsString()
    @ApiProperty({ description: '账号', example: "admin" })
    username: string

    @IsString()
    @ApiProperty({ description: '密码', example: "admin" })
    password: string
    time: number;

}

